package com.quzhi.sys.mapper;

import com.quzhi.sys.dto.OrderDto;
import com.quzhi.sys.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Xibing
 * @since 2024-06-29
 */
public interface OrderMapper extends BaseMapper<Order> {

    List<OrderDto> getOrdersByPage(OrderDto order);

    void updateOrderById(Order order);

    Integer getTotal(String orderStatus);

}
